package com.itheima.manager.domain;

public class DitieZhan {
    private String id;
    private String name;
    private String line;
    private static final long serialVersionUID = 42L;

    public DitieZhan(String id, String name, String line) {
        this.id = id;
        this.name = name;
        this.line = line;
    }

    public DitieZhan() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLine() {
        return line;
    }

    public void setLine(String line) {
        this.line = line;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return this.id+","+this.name+","+this.line;
    }

    public String show() {
        return "\t"+this.id+"\t\t"+this.name+"\t\t"+this.line;
    }

}
